home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Very Best of Atari Inside
/
The Very Best of Atari Inside 1.iso
/
mint
/
mntlib25
/
mntlib25.zoo
/
abs.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-09-05
|
154b
|
11 lines
/* return absolute values */
#include <stdlib.h>
int abs(x)
int x;
{ return x < 0 ? -x : x; }
long labs(x)
long x;
{ return x < 0 ? -x : x; }